
<?php
/**
 * Product list template
 *
 * @see Mage_Catalog_Block_Product_List
 */
?>
<?php  
$store = Mage::app()->getStore();
$code  = $store->getCode();
$enable = Mage::getStoreConfig('catalogextensions/config6/active',$code);
?>
<?php if($enable == 1) { ?>
<div class="maintitle-promo">
            <div class="titlemain"><?php echo Mage::getStoreConfig('catalogextensions/config6/title',$code); ?></div>
            
</div>
<?php echo $this->getLayout()->createBlock('catalogextensions/promotional_home_list')->setTemplate('catalog/product/list_sidebar.phtml')->toHtml(); ?>
<?php }  ?>